//99以内的转换
function intToChinese(num) {
	let changeNum = ['', '一', '二', '三', '四', '五', '六', '七', '八', '九']
	num = parseInt(num)
	let singleNum = num%10;
	let tenNum = parseInt(num/10)%10;
	if(tenNum == 0) {
		return changeNum[singleNum]
	}
	else {
		let newNum = tenNum === 1 ? '' : changeNum[tenNum];
		
		return newNum + '十' + changeNum[singleNum] ;
	}
}
export {
	intToChinese,
}
